package cn.yyh.serviceProduct.mapper;

import cn.yyh.commons.mapper.MyBaseMapper;
import cn.yyh.serviceProduct.domain.ProductComment;
import cn.yyh.serviceProduct.domain.ProductDetail;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: ProductDetail
 * @Package: cn.yyh.serviceProduct.mapper
 * @date 2021/7/12
 */
@Repository
public interface ProductDetailMapper extends MyBaseMapper<ProductDetail> {
    void deleteByProduct(Long id);
    void deleteBatchByProduct(List<Long> ids);
    ProductDetail getByProductId(Long id);
}
